home *** CD-ROM | disk | FTP | other *** search
Wrap
head 1.3; branch ; access ; symbols beta10:1.2; locks death:1.3; comment @ * @; 1.3 date 93.04.04.23.45.28; author death; state Exp; branches ; next 1.2; 1.2 date 93.01.10.15.08.56; author death; state Exp; branches ; next 1.1; 1.1 date 92.07.26.13.58.43; author death; state Exp; branches ; next ; desc @Initial revision of an object for dealing with text files... @ 1.3 log @Sun Apr 4 23:45:27 PDT 1993 @ text @/* ==================================================================== This is the interface file for the TextFile class. Full documentation for this class can be found in the TextFile.rtf file. I will not duplicate all that fine information here. This is $Revision: 1.2 $ of this file It was last modified by $Author: death $ on $Date: 93/01/10 15:08:56 $ Note that this file was created while using the New Century Schoolbook Roman typeface. You may find that some things line up strangely if you don't use that family. *$Log: TextFile.h,v $ * Revision 1.2 93/01/10 15:08:56 death * Sun Jan 10 15:08:55 PST 1993 * * Revision 1.1 92/07/26 13:58:43 death * Initial revision * * ==================================================================== */ // // Import our parent class' definition // #import "File.h" #import "common.h" // // Define our interface. Again, see the TextFile.rtf document for general info. // @@interface TextFile:File { } - WriteInteger: (Integer) theInt; - WritePositiveInteger: (PositiveInteger) theInt; - WriteReal: (Real) theReal; - UnGetCharacter; - (Character) GetCharacter; - (Character) LookAtNextCharacter; - (Integer) GetNumber; - (Byte) GetHexByte; - WriteText: (CString) theLine; - WriteTextLine: (CString) theLine; - WriteTextUsing: (CString) buffer WithFormat: (CString) format, ...; - AppendFrom: sourceFile; @@end #define ERR_BADREAD -4001 /*Arbitrary. I need a better error code organization */ @ 1.2 log @Sun Jan 10 15:08:55 PST 1993 @ text @d4 2 a5 2 This is $Revision: 1.1 $ of this file It was last modified by $Author: death $ on $Date: 92/07/26 13:58:43 $ d8 3 @ 1.1 log @Initial revision @ text @d4 2 a5 2 This is $Revision: $ of this file It was last modified by $Author: $ on $Date: $ d7 3 a9 1 *$Log: $ d11 1 d26 3 d37 2 @